/* 
 * File:   ContextConfig.cpp
 * Author: dell
 * 
 * Created on 2012年4月2日, 上午11:33
 */

#include "ContextConfig.h"
namespace Rapid{
    ContextConfig::ContextConfig():maxSpeed(DEFAULT_SPEED) {
    }

    ContextConfig::~ContextConfig() {
        ContentTypeConfigMap::iterator cxtcit = contentTypeConfigMap.begin();
        for(; cxtcit != contentTypeConfigMap.end();){
            ContentTypeConfig* contentTypeConfig = cxtcit->second;
            contentTypeConfigMap.erase(cxtcit++);
            delete contentTypeConfig;

        }    
        contentTypeConfigMap.clear();

    }
}

